#include "data.h"

namespace visualization
{

bool Data::PushTuple(const std::vector<double> &t)
{
	if (tuple_size != t.size())
		return false;

	//////buffer.push_back(t);
	std::vector<double>::const_iterator iter = t.begin();

	for (; iter!=t.end(); ++iter)
		buffer.push_back(*iter);
	return true;
}

void Data::SelectColumn(const DataSelector &selector, 
		std::vector<double> &col, double *min, double *max)
{
	//selector.Select(buffer, tuple_size, col, min, max);
}

}
